# Maintainer:
pkgname=py3-beniget
pkgver=0.4.1
pkgrel=3
pkgdesc="Extract semantic information about static Python code"
url="https://github.com/serge-sans-paille/beniget"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-gast"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/serge-sans-paille/beniget/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/beniget-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
bd2b7beda41953be9b4052b539ae9812a370702874602175bfca66deebbc569515b9a59c750dc4898a6cb9f4a1d49f8ff15c1288035aaf72940cdd439eaace43  py3-beniget-0.4.1.tar.gz
"
